package com.test1.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zzyy
 * @date 2020/2/18 10:43
 **/
@Slf4j
@RestController
public class TestController {

    /**
     * 与静态资源路径一样，优先使用controller
     * @return
     */
    @RequestMapping("/bug.jpg")
    public String hello() {
        return "aaaa";
    }

}
